= semantic_form_for([:admin,Coach.new]) do |f|
  = f.inputs headline:false do
    = f.input :file,as: :file, label: "文件"

  = f.submit("确定")

:javascript
  $("input:submit").click(function(){
    setTimeout(function(){
      $(this).attr("disabled",true);
    },1000)
    $(this).parent().append("<label>导入中，请等待</label>")
  })